export function connect(onConnected, onDisconnected, onMessage) {
  setTimeout(() => {
    window.msg = onMessage
    onConnected({ send: m => console.log(m) })
    // onDisconnected()
  }, 500)
}
